<style>
#uploadBtnHolder,#uploadBtnHolder2{display: block;width: 60px;height: 60px;}
</style>
<div class="page_title">
    <h2 class="fl">{$pageTitle}</h2>
    <a class="fr top_rt_btn iconfont iconfont-chexiao" href="{:U('admin/Syncdata/index')}">返回列表</a>
</div>
<section>
    <ul class="ulColumn2 ulCol_item_20">
        <li>
            <span class="item_name" style="width:220px;">接口名称：</span>
            <span>{$info.description}</span>
            <!--<span class="errorTips"></span>-->
        </li>
        <li>
            <span class="item_name" style="width:220px;">接口请求地址：</span>
            <span style="color:#0099cc;">{$info.value.url|default='未设置'}</span>
            <!--<span class="errorTips"></span>-->
        </li>
        <li>
            <span class="item_name" style="width:220px;">接口状态：</span>
            <span>{eq name='info.status' value='1'}<i style="color:#38B018;" class="iconfont iconfont-zhengque"></i>{else /}<i style="color:#F00;" class="iconfont iconfont-cuowu"></i>{/eq}</span>
        </li>
        
        <li>
            <span class="item_name" style="width:220px;">接口当前请求方式：</span>
            <span class="fontBold">{:strtoupper($info.value.method)}</span>
            <!--<span class="errorTips"></span>-->
        </li>
        <li>
            <span class="item_name" style="width:220px;">请求头部：</span>
            {notempty name="info.value.header"}
                <ul style="display: inline-table">
                {volist name="info.value.header" id="vo"}
                    <li>
                        <input type="text" class="textbox textbox_295" readonly="readonly" value="{$key}" /> : 
                        <input type="text" class="textbox textbox_295" readonly="readonly" value="{$vo}" />
                    </li>
                {/volist}
                </ul>
            {else /}
                <span>未设置</span>
            {/notempty}
            <!--<span class="errorTips"></span>-->
        </li>
        <li>
            <span class="item_name" style="width:220px;">请求参数：</span>
            
            {notempty name="info.value.data"}
                <ul style="display: inline-table">
                {volist name="info.value.data" id="vo"}
                    <li>
                        <input type="text" class="textbox textbox_295" readonly="readonly" value="{$key}" /> : 
                        <input type="text" class="textbox textbox_295" readonly="readonly" value="{$vo}" />
                    </li>
                {/volist}
                 </ul>
            {else /}
                <span>未设置</span>
            {/notempty}
            
            <!--<span class="errorTips"></span>-->
        </li>
        <li>
            <span class="item_name" style="width:220px;"></span>
            <input type="submit" class="link_btn edit loadContent" data-href="{:U('admin/Syncdata/edit',['config_id'=>encrypt_id($info.config_id)])}" value="修改"/>
        </li>
    </ul>
</section>